/* Layout TOC */

#tabbed-toc {
  background: rgb(234, 234, 234);
  border: 1px solid rgb(230, 230, 230);
  box-shadow: 0 0 3px #999;
  color: #666;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

#tabbed-toc .loading {
  display: block;
  font-family: 'Open Sans', Calibri, 'Myriad Pro', Myriad, 'Trebuchet MS', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: normal;
  padding: 5px 10px;
  text-align: center;
}

#tabbed-toc ul,
#tabbed-toc ol,
#tabbed-toc li {
  list-style: none;
  margin: 0 0;
  padding: 0 0;
}

#tabbed-toc .toc-tabs {
  float: left;
  width: 27%;
}

#tabbed-toc .toc-tabs li a {
  color: #666;
  cursor: pointer;
  display: block;
  font-family: 'Open Sans', Calibri, 'Myriad Pro', Myriad, 'Trebuchet MS', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: normal;
  height: 22px;
  overflow: hidden;
  padding: 0 12px;
  text-decoration: none;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

#tabbed-toc .toc-tabs li a:hover {
  background: rgb(248, 248, 248);
  color: #888;
}

#tabbed-toc .toc-tabs li a.active-tab {
  background: rgb(224, 224, 224);
  color: #666;
  margin: 0 -1px 0 0;
  position: relative;
  z-index: 5;
  /* cursor: text;
  */;
}

#tabbed-toc .toc-content,
#tabbed-toc .divider-layer {
  background: rgb(238, 238, 238);
  border-left: 5px solid #CFCFCF;
  box-sizing: border-box;
  float: right;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  width: 73%;
}

#tabbed-toc .divider-layer {
  bottom: 0;
  box-shadow: 0 0 7px rgba(0, 0, 0, .7);
  display: block;
  float: none;
  -moz-box-shadow: 0 0 7px rgba(0, 0, 0, .7);
  position: absolute;
  right: 0;
  top: 0;
  -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, .7);
}

#tabbed-toc .panel {
  font: normal normal 10px Arial, Sans-Serif;
  position: relative;
  z-index: 5;
}

#tabbed-toc .panel li a {
  color: #777;
  display: block;
  font-family: 'Open Sans', Calibri, 'Myriad Pro', Myriad, 'Trebuchet MS', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: normal;
  height: 20px;
  line-height: 20px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-decoration: none;
}

#tabbed-toc .panel li time {
  color: #666;
  display: block;
  float: right;
  font-size: 13px;
  font-style: italic;
  font-weight: normal;
}

#tabbed-toc .panel li .summary {
  border-bottom: 4px solid #275827;
  display: block;
  font-style: italic;
  overflow: hidden;
  padding: 10px 12px 10px;
}

#tabbed-toc .panel li .summary img.thumbnail {
  background-color: #fafafa;
  border: 1px solid #dcdcdc;
  display: block;
  float: left;
  height: 72px;
  margin: 0 8px 0 0;
  padding: 4px 4px;
  width: 72px;
}

#tabbed-toc .panel li:nth-child(even) {
  background: rgb(230, 230, 230);
}

#tabbed-toc .panel li a:hover,
#tabbed-toc .panel li a:focus,
#tabbed-toc .panel li a:hover time,
#tabbed-toc .panel li.bold a {
  background: rgb(248, 248, 248);
  color: #888;
  outline: none;
}

#tabbed-toc .panel li.bold a:hover,
#tabbed-toc .panel li.bold a:hover time {
  background-color: #222;
}

@media (max-width: 700px) {
  #tabbed-toc {
    border: 2px solid #333;
  }
  #tabbed-toc .toc-tabs,
  #tabbed-toc .toc-content {
    display: block;
    float: none;
    overflow: hidden;
    width: auto;
  }
  #tabbed-toc .toc-tabs li {
    display: inline;
    float: left;
  }
  #tabbed-toc .toc-tabs li a,
  #tabbed-toc .toc-tabs li a.active-tab {
    background-color: #224C19;
    box-shadow: 2px 0 7px rgba(0, 0, 0, .4);
    -moz-box-shadow: 2px 0 7px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 2px 0 7px rgba(0, 0, 0, .4);
  }
  #tabbed-toc .toc-tabs li a.active-tab {
    background-color: white;
    color: #333;
  }
  #tabbed-toc .toc-content {
    border: none;
  }
  #tabbed-toc .divider-layer,
  #tabbed-toc .panel li time {
    display: none;
  }
}